<?php

declare(strict_types=1);
/**
 * This file is part of habo_new_media.
 *
 * @link     https://www.berlen.cn/
 * @contact  tech@berlen.cn
 * @license  http://gitlab.rehou.cn/habo/habo_new_media/-/blob/master/README.md
 */
namespace app\enum;

class FsUrlEnum extends UrlEnum
{
    /**
     * @var array|string[] 消息服务链接列表
     */
    public const MSG_URL = [
        // 发送单条消息
        'single_msg' => '/open-apis/im/v1/messages?receive_id_type=open_id',
        // 批量发送消息
        'batch_msg' => '/open-apis/message/v4/batch_send/',
    ];

    /**
     * @var array|string[] TOKEN服务链接列表
     */
    public const TOKEN_URL = [
        // 获取 tenant_access_token（企业自建应用）
        'tenant_access_token' => '/open-apis/auth/v3/tenant_access_token/internal',
        // 获取app_access_token
        'app_access_token' => '/open-apis/auth/v3/app_access_token/internal',
    ];

    public static string $serviceName = 'FS_BASE_URL';
}
